export interface ComConfig {
  config: boolean // 是否可配置
  desensitization: boolean // 是否可导入、脱敏配置
  timing: boolean // 是否可定时配置
  typeInfer: boolean // 是否可数据类型推断
  semanticInfer: boolean // 是否可语义推断
}
/**
 * 不同数据类型导入可配置项
 */
export const settingMap: { [comName: string]: ComConfig } = {
  table: {
    config: true,
    desensitization: true,
    timing: false,
    typeInfer: true,
    semanticInfer: true,
  },
  database: {
    config: true,
    desensitization: true,
    timing: true,
    typeInfer: false,
    semanticInfer: true,
  },
  graph: {
    config: false,
    desensitization: false,
    timing: false,
    typeInfer: false,
    semanticInfer: false,
  },
  http: {
    config: true,
    desensitization: false,
    timing: false,
    typeInfer: true,
    semanticInfer: true,
  },
  gis: {
    config: false,
    desensitization: false,
    timing: false,
    typeInfer: false,
    semanticInfer: false,
  },
  k_graph: {
    config: false,
    desensitization: false,
    timing: false,
    typeInfer: false,
    semanticInfer: false,
  },
}
